.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.section-header h3 {
    font-size: 18px;
    font-weight: bold;
}

/* 秒杀需要横滚 */
.seckill-section .product-list {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 10px;
    /* 预留滚动条位置  */
    padding-bottom: 10px;
}

.seckill-section .product-list::-webkit-scrollbar {
    height: 4px;
}
.seckill-section .product-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* 团购样式 */

.groupbuy-section .product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 0;
    /* 预留滚动条位置  */
    padding-bottom: 10px;
}

.product-list .product-item {
    flex-shrink: 0;
    width: 160px;
}

.product-list .product-item img {
    width: 100%;
    object-fit: cover;
}
.product-item-info {
    padding: 10px;
}
.product-item-info h4 {
    font-size: 14px;
    font-weight: bold;
    /* 保留单行文本 */
    overflow: hidden;
    /* 文本溢出后，显示为省略号 */
    text-overflow: ellipsis;
    /* 文本不换行 */
    white-space: nowrap;
}
.product-item-price {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-item-price .price {
    color: #b50e03;
    font-weight: bold;
    font-size: 16px;
}
.product-item-price .original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
}
